﻿using Web7.Domain;
using Web7.Ioc;

namespace Web7.Core.Security
{
    public interface IAuthorizer : IDependency
    {
        bool Authorize(Permission permission);
        bool Authorize(Permission permission, string message);
        bool Authorize<T>(Permission permission, T content, string message);
    }
}
